import 'dart:html';

void main() async {
  String url = "http://www.newbyte.ltd/index.htm";
  HttpRequest req = await HttpRequest.request(
    url,
    method: 'HEAD',
  );
  if (req.status == 200) {
    // Successful URL access...
    print(req.responseText);
  }
}
